<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			
			input[type="text"],input[type="password"]{
				
				transition: all 1s ease-in;
			}
			
			input:focus{
				background-color: pink;
				outline:solid 10px #008000;
			}
		</style>
	</head>
	<body>
		<form action="" method="">
			<fieldset id="">
				<legend>用户登录</legend>
				<label>姓名
					<input type="text" name="" id="" value="" />
				</label>
				<label>密码
					<input type="password" name="" id="" value="" />
				</label>
			</fieldset>
		</form>
	</body>
</html>
